<template>
  <div class="spareStock">
    <div class="top">
      <input type="text" placeholder="输入品牌/名称进行搜索"/>
      <div class="search-btn"></div>
    </div>
    <div>
      <div class="stockInfo">
        <div class="mess-item rowflex">
          <div class="c666 title">设备品牌</div>
          <div class="ml15">XXXXXXXX</div>
        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">设备名称</div>
          <div class="ml15">XXXXXXXX</div>

        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">规格型号</div>
          <div class="ml15">XXXXXXXX</div>

        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">已有数量</div>
          <div class="ml15">XXXXXXXX</div>
        </div>
      </div>
      <div class="stockInfo">
        <div class="mess-item rowflex">
          <div class="c666 title">设备品牌</div>
          <div class="ml15">XXXXXXXX</div>
        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">设备名称</div>
          <div class="ml15">XXXXXXXX</div>

        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">规格型号</div>
          <div class="ml15">XXXXXXXX</div>

        </div>
        <div class="mess-item rowflex">
          <div class="c666 title">已有数量</div>
          <div class="ml15">XXXXXXXX</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "spareStock"
    }
</script>

<style lang="less">
  .spareStock{
    font-size: 0.15rem;

    .top {
      height: 0.48rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-right: 0.25rem;
      margin-bottom: 0.15rem;
      background: #fff;
    }

    input[type="text"] {
      height: 0.48rem;
      border: none;
      padding-left: 0.15rem;
    }

    .search-btn {
      width: 0.3rem;
      height: 0.19rem;
      background: url("~assets/images4/icon_sousuo@2x.png") no-repeat right;
      background-size: auto 100%;
      border-left: 1px solid #dfdfdf;

    }

    .stockInfo{
      background: #fff;
      padding: 0.1rem 0.1rem 0.03rem 0.15rem;
      border-top: #dfdfdf 1px solid;
    }
    .mess-item {
      margin-bottom: 0.07rem;
    }
    .stockInfo:first-child {
      border-top: 0;
    }

  }
</style>
